package com.kantboot.project.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import springfox.documentation.oas.annotations.EnableOpenApi;

@SpringBootApplication
@EnableDiscoveryClient
public class KantbootGatewayApplication {

    public static void main(String[] args) {
        System.out.println("正在启动网关！！！");
        long startDate = System.currentTimeMillis();
        SpringApplication.run(KantbootGatewayApplication.class, args);
        long endDate = System.currentTimeMillis();
        System.out.println("网关启动完成，耗时："+(endDate-startDate)+"毫秒");
    }

}
